
export const DESIGN_ITEM = [
    {
        label: '选区',
        icon: '',
        callback: (lf: any) => {
            lf.current.openSelectionSelect();
            lf.current.once('selection:selected', () => {
                lf.current.closeSelectionSelect();
            });
        },
    },
    {
        type: 'bpmn:startEvent',
        label: '开始',
        text: '开始',
        icon: '',
    },
    {
        type: 'bpmn:userTask',
        label: '用户任务',
        text: '用户任务',
        icon: '',
    },
    {
        type: 'bpmn:serviceTask',
        label: '系统任务',
        text: '系统任务',
        icon: '',
    },
    {
        type: 'bpmn:exclusiveGateway',
        label: '条件判断',
        text: '条件判断',
        icon: '',
    },
    {
        type: 'bpmn:endEvent',
        label: '结束',
        text: '结束',
        icon: '',
    },
]